import request from '@/utils/request'

export function getList(data: any) {
  return request({
    url: '/api/org/get?orgget',
    method: 'post',
    data,
  })
}

export function doAdd(data: any) {
  return request({
    url: '/api/org/set?orgset',
    method: 'post',
    data,
  })
}

export function doEdit(data: any) {
  return request({
    url: '/api/org/update?orgupdate',
    method: 'post',
    data,
  })
}
export function doDelete(data: any) {
  return request({
    url: '/api/org/delete?orgupdate',
    method: 'post',
    data,
  })
}
